﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ControlCenter.Model.BizEntities
{
    /// <summary>
    /// ERP设置参数
    /// </summary>
    public class ErpApiParam
    {
        /// <summary>
        /// ERP地址
        /// </summary>
        public string ErpUrl { get; set; }
        /// <summary>
        /// 应用ID
        /// </summary>
        public string AppId { get; set; }
        /// <summary>
        /// 应用KEY
        /// </summary>
        public string AppToken { get; set; }

        /// <summary>
        /// 创建一个默认对象
        /// </summary>
        /// <returns></returns>
        public static ErpApiParam Default()
        {
            return new ErpApiParam(){ ErpUrl = "", AppId = "", AppToken = ""};
        }
    }
}
